/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package talvan;

import java.util.Date;

/**
 * Klassi av einum Eventi (Tiltaki)
 * har eru øll relevant feltir, sum eru relevant fyri klassan
 * @author DJH
 */
public class Event {
    
    private String name;
    private String description;
    private String stovnari;
    private Date time;
    private int eventID;
    
    public Event()
    {
        
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return the stovnari
     */
    public String getStovnari() {
        return stovnari;
    }

    /**
     * @param stovnari the stovnari to set
     */
    public void setStovnari(String stovnari) {
        this.stovnari = stovnari;
    }

    /**
     * @return the time
     */
    public Date getTime() {
        return time;
    }

    /**
     * @param time the time to set
     */
    public void setTime(Date time) {
        this.time = time;
    }

    /**
     * @return the meetingID
     */
    public int getEventID() {
        return eventID;
    }

    /**
     * @param meetingID the meetingID to set
     */
    public void setEventID(int eventID) {
        this.eventID = eventID;
    }
    
    public String toString()
    {
        return name;
    }
    
}
